fixed property & property expression rules. Fixed bug in ruletests.js
refactor rule parsing, and add tests for rule parsing
All test rules passing tests.
All test and production rule tests passing, client now working too