Integrate rules parsing

Please merge PR #4 first.

This integrates the rules parsing into flow/node parser.

https://www.agileplannerapp.com/boards/203504/cards/4979