update test rules