Grammar means: (1)

a. The ability to communicate effectively.
b. A set of rules and forms to learn a language.
c. The language used in every-day conversation.
d. To use the correct rules when writing, but not when talking.

b. A set of rules and forms to learn a language.