removed dead code for the rule parser.