add rules for homepage searchbox