modify a test rule