Use rule names from python BNF