Completion settings:
Axiom: aaaa=aba.
Flip LHS and RHS.
Defines rule #1.
Axiom: bbbb=1.
Defines rule #2.