Map<String, dynamic> toJson() { final rule = this.rule; final value = this.value; return { 'Rule': rule, 'Value': value, }; }