pub fn preference_rules(
text: &str,
deny: &[String],
ask: &[String],
) -> Result<Vec<Rule>>Expand description
The rules a preference carries: one per --deny and --ask pattern,
each with the preference as its reason, so the person who is stopped
reads the words they wrote. Checked before anything is written, so a
bad pattern leaves neither the preference nor a rule behind.