repairing rules editor in web client, fixes #11
Merge pull request #20 from mozilla/issue-11

repairing rules editor in web client, fixes #11