if(safe_str_eq(XML_CONS_TAG_RSC_ORDER, crm_element_name(xml_obj))) {
lifetime = cl_get_struct(xml_obj, "lifetime");  if(test_ruleset(lifetime, NULL) == FALSE) { crm_info("Constraint %s %s is not active", crm_element_name(xml_obj), id);  } else if(safe_str_eq(XML_CONS_TAG_RSC_ORDER, crm_element_name(xml_obj))) {
unpack_constraints(crm_data_t * xml_constraints, pe_working_set_t *data_set){	crm_debug("Begining unpack... %s",		    xml_constraints?crm_element_name(xml_constraints):"<none>");	xml_child_iter(		xml_constraints, xml_obj, NULL,		const char *id = crm_element_value(xml_obj, XML_ATTR_ID);		if(id == NULL) {			pe_err("Constraint <%s...> must have an id",				crm_element_name(xml_obj));			continue;		}		crm_debug_3("Processing constraint %s %s",			    crm_element_name(xml_obj),id);		if(safe_str_eq(XML_CONS_TAG_RSC_ORDER,			       crm_element_name(xml_obj))) {			unpack_rsc_order(xml_obj, data_set);		} else if(safe_str_eq(XML_CONS_TAG_RSC_DEPEND,				      crm_element_name(xml_obj))) {			unpack_rsc_colocation(xml_obj, data_set);		} else if(safe_str_eq(XML_CONS_TAG_RSC_LOCATION,				      crm_element_name(xml_obj))) {			unpack_rsc_location(xml_obj, data_set);		} else {			pe_err("Unsupported constraint type: %s",				crm_element_name(xml_obj));		}		);	return TRUE;}