code: public void marshall(ActivatedRule activatedRule, ProtocolMarshaller protocolMarshaller) {
  
          if (activatedRule == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(activatedRule.getPriority(), PRIORITY_BINDING);
              protocolMarshaller.marshall(activatedRule.getRuleId(), RULEID_BINDING);
              protocolMarshaller.marshall(activatedRule.getAction(), ACTION_BINDING);
              protocolMarshaller.marshall(activatedRule.getOverrideAction(), OVERRIDEACTION_BINDING);
              protocolMarshaller.marshall(activatedRule.getType(), TYPE_BINDING);
              protocolMarshaller.marshall(activatedRule.getExcludedRules(), EXCLUDEDRULES_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.