clean up rule