Setter method for maps_get_rules, mapped from YANG variable /brocade_maps_ext_rpc/maps_get_rules (rpc)
    If this variable is read-only (config: false) in the
    source YANG file, then _set_maps_get_rules is considered as a private
    method. Backends looking to populate this variable should
    do so via calling thisObj._set_maps_get_rules() directly.

    YANG Description: Shows the existing MAPS Policies

def _set_maps_get_rules(self, v, load=False):
    """
    Setter method for maps_get_rules, mapped from YANG variable /brocade_maps_ext_rpc/maps_get_rules (rpc)
    If this variable is read-only (config: false) in the
    source YANG file, then _set_maps_get_rules is considered as a private
    method. Backends looking to populate this variable should
    do so via calling thisObj._set_maps_get_rules() directly.

    YANG Description: Shows the existing MAPS Policies
    """
    if hasattr(v, "_utype"):
      v = v._utype(v)
    try:
      t = YANGDynClass(v,base=maps_get_rules.maps_get_rules, is_leaf=True, yang_name="maps-get-rules", rest_name="maps-get-rules", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=False, extensions={u'tailf-common': {u'hidden': u'rpccmd', u'actionpoint': u'maps-show-action-point'}}, namespace='urn:brocade.com:mgmt:brocade-maps-ext', defining_module='brocade-maps-ext', yang_type='rpc', is_config=True)
    except (TypeError, ValueError):
      raise ValueError({
          'error-string': """maps_get_rules must be of a type compatible with rpc""",
          'defined-type': "rpc",
          'generated-type': """YANGDynClass(base=maps_get_rules.maps_get_rules, is_leaf=True, yang_name="maps-get-rules", rest_name="maps-get-rules", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=False, extensions={u'tailf-common': {u'hidden': u'rpccmd', u'actionpoint': u'maps-show-action-point'}}, namespace='urn:brocade.com:mgmt:brocade-maps-ext', defining_module='brocade-maps-ext', yang_type='rpc', is_config=True)""",
        })

    self.__maps_get_rules = t
    if hasattr(self, '_set'):
      self._set()