Definition:Formal Grammar

Definition
Let $\mathcal L$ be a formal language whose alphabet is $\mathcal A$.

The formal grammar (or syntax) of $\mathcal L$ is the set of rules of formation which determine whether words in $\mathcal A$ belong to $\mathcal L$ or not.

Rules of Formation
The rules of formation of $\mathcal L$ are the rules which define how to construct words in $\mathcal L$ which are well-formed.

That is, the rules of formation tell you how to build strings consisting of symbols from the alphabet $\mathcal A$ which are part of the formal language $\mathcal L$.

The rules of formation of a formal language constitute its syntax.