Grammar
syntax
rules of language
Grammar refers to the structural rules governing the composition of clauses, phrases, and words in a language. It encompasses syntax, morphology, semantics, and phonology.