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