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