Update rules.js

Adding greaterThan and lessThan rules
Update miscellaneousRules.test.js

Adding greaterThan and lessThan tests.
Merge pull request #46 from animedbz16/master

Adding greaterThan and lessThan rules