code: public java.util.List<ScalingRule> getRules() {
          if (rules == null) {
              rules = new com.amazonaws.internal.SdkInternalList<ScalingRule>();
          }
          return rules;
      }
docs: <p>
  The scale-in and scale-out rules that comprise the automatic scaling policy.
  </p>
  
  @return The scale-in and scale-out rules that comprise the automatic scaling policy.