Here's why:
* Common nouns refer to general, non-specific people, places, things, or ideas.
* Proper nouns are specific names of people, places, or things (e.g., John, London, Eiffel Tower).
Since "grammar" refers to the general concept of the rules governing a language, it is a common noun.