pub fn validate_rule(rule: &Rule) -> Result<(), String>
Validate one declarative command rule.
Returns an error when matching, action, reducer, pattern, or budget constraints fail.