update test-rules format