updated representation for rules.