Performs consistency checks of the grammar structure, creates the serialized format, saves the grammar structure, reloads the grammar structure to the stream provided by SetSaveObjects, or reloads it into the SR engine.

Additionally, a sample code is provided to demonstrate ISpGrammarBuilder.