fix rules.json