Add grammar for individual scopes

To be expanded in the future to support scope selectors.