added ParseRules