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