To build logical specification use rule definitions from a yaml file.
Handling errors (not fully matched graph or missing specification) when calling from command line.
[WIP - screams for refactoring…] Handle generating logical specification in views.