modifying rules.json