Use setRuleStyle() at end to make initialization more error proof