code: public static ForwardRule newInstance(String contentType, String transletName, String method, Boolean defaultResponse)
              throws IllegalRuleException {
          if (transletName == null) {
              throw new IllegalRuleException("The 'forward' element requires a 'translet' attribute");
          }
  
          MethodType requestMethod = null;
          if (method != null) {
              requestMethod = MethodType.resolve(method);
              if (requestMethod == null) {
                  throw new IllegalRuleException("No request method type for '" + method + "'");
              }
          }
  
          ForwardRule fr = new ForwardRule();
          fr.setContentType(contentType);
          fr.setTransletName(transletName);
          fr.setRequestMethod(requestMethod);
          fr.setDefaultResponse(defaultResponse);
          return fr;
      }
docs: Returns a new instance of ForwardRule.
  
  @param contentType the content type
  @param transletName the translet name
  @param method the request method
  @param defaultResponse whether the default response
  @return an instance of ForwardRule
  @throws IllegalRuleException if an illegal rule is found