Removed obsolete function from rules.