Made FOAMTagParser extend grammar instead of XMLParser.