Updated parser to use rply rather than pyparsing.