Added more detailed documentation for the grid so that the pattern used to compile the definition can be now understood through the documentation.