Python Rule Engine Json Editor