clean rule cleanup