more work on rule parsing