Completion settings:
Axiom: aab=ba.
Flip LHS and RHS.
Defines rule #1.
Axiom: bca=1.
Defines rule #2.