Changed parseRules to be this.parseRules

This was causing my code to break