Rule parser

Let's see if tests pass.
please remove this catch block.