code: public boolean hasRuleBlock(String name) {
          for (RuleBlock ruleBlock : this.ruleBlocks) {
              if (ruleBlock.getName().equals(name)) {
                  return true;
              }
          }
          return false;
      }
docs: Removes the rule block of the given name.
  
  @param name is the name of the rule block
  @return the rule block of the given name
  @throws RuntimeException if there is no block with the given name