grammatical rule

definition: a linguistic rule for the syntax of grammatical utterances
example:
speech part: noun
synonyms: rule of grammar

How grammatical rule is being used?