update clean rule