removed debug main in rule parser