add graphviz rules