Update rule-test.js