Avoid cyclic rules