Added a few fixes to the grammar reference section (these fixes must
still be propagated to the appropriate document chapters)