change docstrings in GrammarRule.py
update documentation