coloring for rule graphs with multiple sinks/sources, a few new rules, cleanup, bug fixes in a few rules