It is important to insert these sub group materials in a “material” group otherwise they cannot be used in the “required resources” selection with the work in the resource setting as well as they cannot be selected in the Task Settings->Resources. See the below images.