Have replacement rules work for non ambiguous rules