fixed docstring of get_production_rules()