Function valid_rule

Source
pub fn valid_rule(text: &String, allow_wildcard: bool) -> bool