Build a dependencies graph and detect cycles: * Types and guards for nodes of the ParsedRules AST * Simple visitor framework for the nodes and their `formule` sub-nodes * Build a directed graph for dependencies using @dagrejs/graphlib