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