code: function( maxId, callback ) {
  
      if( typeof maxId === 'function' ) {
        callback = maxId
        maxId = null
      }
  
      var self = this
      var id = maxId ? '/' + maxId : ''
  
      return this.client._clientRequest({
        url: '/alerts/rest/v1/json/list' + id,
      }, function( error, data ) {
        callback.call( self.client, error, data )
      })
  
    }
docs: List all registered rule IDs,
  optionally only up to a given `maxId`
  @param {String} maxId - optional, list only rules that are less than the specified max Rule ID
  @param {Function} callback( error, rules )
  @return {Request}