modify search rule