code: public static HeaderActionRule newInstance(String id, Boolean hidden) {
          HeaderActionRule headerActionRule = new HeaderActionRule();
          headerActionRule.setActionId(id);
          headerActionRule.setHidden(hidden);
          return headerActionRule;
      }
docs: Returns a new derived instance of HeaderActionRule.
  
  @param id the action id
  @param hidden whether to hide result of the action
  @return the header action rule