refactor(ruleparser): removing useless functions