Worked on RulesPanel