small rule fixes