Format.RuleSourceA rule consists of a styled prefix, a styled suffix, and a style. Rules are applied to strings using functions defined in Output_ops.
Rule creation: Most rules have a style, and maybe a prefix. For instance, a line_next rule might have a bold "+" prefix and a green style.