pub fn simple_rule<F>( code: impl Into<RuleCode>, severity: Severity, message: impl Into<String>, check_fn: F, ) -> SimpleRule<F>where F: Fn(&Instruction, Option<&ParsedShell>) -> bool + Send + Sync,
Create a simple stateless rule.