public int getPatternRuleIndex() {
		return patternRuleIndex;
	}
Get the parser rule which serves as the outermost rule for the tree
pattern.

@return The parser rule which serves as the outermost rule for the tree
pattern.
runtime/Java/src/org/antlr/v4/runtime/tree/pattern/ParseTreePattern.java