code: @Override
      public ListRulesResult listRules(ListRulesRequest request) {
          request = beforeClientExecution(request);
          return executeListRules(request);
      }
docs: <p>
  Lists your Amazon CloudWatch Events rules. You can either list all the rules or you can provide a prefix to match
  to the rule names.
  </p>
  <p>
  ListRules does not list the targets of a rule. To see the targets associated with a rule, use
  <a>ListTargetsByRule</a>.
  </p>
  
  @param listRulesRequest
  @return Result of the ListRules operation returned by the service.
  @throws InternalException
  This exception occurs due to unexpected causes.
  @sample AmazonCloudWatchEvents.ListRules
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListRules" target="_top">AWS API
  Documentation</a>