[core][fx][tb][js] use colors defined by the rules file (+bugs fixed)