def METHOD_NAME(Policy_Value, definition):
    METHOD_NAME = etree.SubElement(Policy_Value, 'constraint', id=definition['id'])
    constraint_description = etree.SubElement(METHOD_NAME, 'description').text = definition['description']
    constraint_classid = etree.SubElement(METHOD_NAME, 'classId').text = definition['classId']
    return METHOD_NAME        