Fix rules for new search engine