@Nullable public FuncallExpression findRule(String name){
  for (  FuncallExpression expr : findChildrenByClass(FuncallExpression.class)) {
    String ruleName=expr.getNameArgumentValue();
    if (name.equals(ruleName)) {
      return expr;
    }
  }
  return null;
}

@ Nullable public FuncallExpression findRule ( String name ) { for ( FuncallExpression expr : findChildrenByClass ( FuncallExpression . class ) ) { String ruleName = expr . getNameArgumentValue ( ) ; if ( name . equals ( ruleName ) ) { return expr ; } } return null ; }
finds a top - level rule with a " name " keyword argument with the given value .
