public RuleColorizer() {
List rulesList = new ArrayList();
String expression = "level == FATAL || level == ERROR";
rulesList.add(
new ColorRule(
expression, ExpressionRule.getRule(expression), new Color(147, 22, 0),
Color.white));
expression = "level == WARN";
rulesList.add(
new ColorRule(
expression, ExpressionRule.getRule(expression), Color.yellow.brighter(),
Color.black));
defaultRules.put(DEFAULT_NAME, rulesList);
setRules(defaultRules);
}