Updated Rule Manager

+fixed bugs
+fixed style sheet