small rules fix