public static JsonElement Apply(this Rule component)
 {
     return(component.Apply(JsonDocument.Parse("null").RootElement));
 }