Refactored JSON structure of rules, adapted SettingsManager import of rules