Remove rewrite and index changing rules