Fix auto clean rule