Integrate rules parsing

Please merge parse-rules branch first.

This integrates the rules parsing into flow/node parser.

https://www.agileplannerapp.com/boards/203504/cards/4979