update rule matching
update rule matching