This PR improves the guidance docs and adds a section that explains how grammars are applied on a technical level