modified grammar to handle complement symbol
complement selectors working