update error search rule, add Context