Updated production rules:
rule_106: A54 -> A55 A52 A21 A51 27 31
rule_109: A57 -> 36 A56 29 34