add rules for main searchbox