adds group/family/affinity to resources