Add DAG::files(), DAG::rules().
'g' is a very silly name for a DAG!

Clearly, 'd' is much more mnemonic.
Add more accessors to dag::Rule.
Add support for Ninja rules.