Changed parseRules to be this.parseRules
This was causing my code to break
Merge pull request #9 from markwithers/master

Changed parseRules to be this.parseRules
Thanks for pointing out.