arrgh
Populate rule editing from JSON file