Add use check to LexerRules.AddUndefinedCaptureRule