Create rules.json