updated rules editor