Making progress on the rules parsing