Complex sentence: One writes a grammer rule in imperative mode, knowing that grammer rules are test function's that direct the parsing of an input character stream.
Split into simpler sentences: One writes a grammer rule in imperative mode. Knowing the grammer rule directs the parsing of an input character stream.