pub fn transform( rule: &RuleFile, input: &str, context: Option<&Value>, ) -> Result<Value, TransformError>