update rule test