clear up some rule ambiguities [ci skip]