Remove duplicate rules