Move parser rules to config.