rules clean fix