code: public RuleBlock getRuleBlock(String name) {
          for (RuleBlock ruleBlock : this.ruleBlocks) {
              if (ruleBlock.getName().equals(name)) {
                  return ruleBlock;
              }
          }
          throw new RuntimeException(String.format(
                  "[engine error] no rule block by name <%s>", name));
      }
docs: Gets the rule block of the given name after iterating the rule blocks. The
  cost of this method is O(n), where n is the number of rule blocks in the
  engine. For performance, please get the rule blocks by index.
  
  @param name is the name of the rule block
  @return rule block of the given name
  @throws RuntimeException if there is no block with the given name