loop through Grammar's rawPatterns if it exist