removing a line from rules file