started adding color to the rulesPanel, modified the textRules