pub fn format_rules(rules: &Rules, sep: &str) -> String
Formats a vector of rules as a string-separated list.