Completion settings:
Axiom: aaa=ab.
Flip LHS and RHS.
Defines rule #2.
Axiom: acc=1.
Defines rule #1.