fix rules.json deploy