core.Map<core.String, core.dynamic> toJson() => { if (rulesContent != null) 'rulesContent': rulesContent!, if (rulesSourceFilename != null) 'rulesSourceFilename': rulesSourceFilename!, };