Updated production rules:
rule_2: A2 -> A6 2 8
rule_27: A12 -> A3 10
rule_37: A16 -> 11 A3 12