Add set_rate method in Searcher class