gboolean apply = FALSE;
unpack_instance_attributes(	crm_data_t *xml_obj, node_t *node, GHashTable *hash,	const char **attrs, int attrs_length){	gboolean apply = FALSE;	crm_data_t *attributes = NULL;		if(xml_obj == NULL) {		crm_debug_4("No instance attributes");		return;	}	if(attrs != NULL && attrs[0] == NULL) {		/* none allowed */		crm_debug_2("No instance attributes allowed");		return;	}		crm_debug_2("Checking for attributes");	xml_child_iter(		xml_obj, attr_set, XML_TAG_ATTR_SETS,		/* check any rules */		apply = TRUE;		crm_debug_2("Testing rules");		xml_child_iter(			attr_set, rule, XML_TAG_RULE,			apply = FALSE;			crm_debug_2("Testing rule %s", ID(rule));			if(test_rule(rule, node)) {				apply = TRUE;				break;			}			);		if(apply == FALSE) {			continue;		}				crm_debug_2("Adding attributes");		attributes = cl_get_struct(attr_set, XML_TAG_ATTRS);		if(attributes == NULL) {			pe_err("%s with no %s child",			       XML_TAG_ATTR_SETS, XML_TAG_ATTRS);		} else {			populate_hash(attributes, hash, attrs, attrs_length);		}				);}