def getPropertyRules(Id,propertyVersion,behaviorName):
	"""
	Now we're going to grab the property rules for this guy
	"""
	print
	print "Retrieving property rules"
	path = "/papi/v0/properties/%s/versions/%s/rules" % (Id['property'],propertyVersion)
	rule_parameters = { "contractId":Id['contract'], "groupId":Id['group'] }
	rule_result = getResult(path, rule_parameters)
	
	for item in rule_result['rules']['behaviors']:
		if item['name'] != behaviorName:
			continue
		print item['options']['enabled'] % "Current status is %s"
		return (rule_result)
dataset/ETHPy150Open akamai-open/api-kickstart/examples/python/papi_prefetch_toggle.py/getPropertyRules/swapped operands of `%`