Removing outdated security rules