def IconSetRule(icon_style=None, type=None, values=None, showValue=None, percent=None, reverse=None):
 cfvo = []
 for val in values:
  cfvo.append(FormatObject(type, val))
 icon_set = IconSet(iconSet=icon_style, cfvo=cfvo, showValue=showValue, percent=percent, reverse=reverse)
 rule = Rule(type='iconSet', iconSet=icon_set)
 return rule

def IconSetRule ( icon_style = None , type = None , values = None , showValue = None , percent = None , reverse = None ) : cfvo = [ ] for val in values : cfvo . append ( FormatObject ( type , val ) ) icon_set = IconSet ( iconSet = icon_style , cfvo = cfvo , showValue = showValue , percent = percent , reverse = reverse ) rule = Rule ( type = 'iconSet' , iconSet = icon_set ) return rule
convenience function for creating icon set rules .