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