update test rule