a sort function is now part of this module, so it can be used standing alone
to-rule-set: rule-candidates -> dfs -> '(#{:rule} ...) -> rule-set dfs: depth first topological sort with automatic leaf insertion out-of-date: replaced by templates.scm rule-trans-set: replaced by to-rule-set