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