Renamed Rules to Filters for easier understanding.