public int getRuleIndex(String ruleName) {Integer ruleIndex = getRuleIndexMap().get(ruleName);if ( ruleIndex!=null ) return ruleIndex;return -1;}

public int getRuleIndex ( String ruleName ) { Integer ruleIndex = getRuleIndexMap ( ) . get ( ruleName ) ; if ( ruleIndex != null ) return ruleIndex ; return - 1 ; }
public virtual int GetRuleIndex(string ruleName){int ruleIndex;if (RuleIndexMap.TryGetValue(ruleName, out ruleIndex)){return ruleIndex;}return -1;}
