Updated production rules:
rule_31: A18 -> A32 A19 10 9 1 1 5 7
rule_109: A59 -> A58 13 14 15