Hi,
It's better to deal with it via Cover Eligibility. You have to define a rule assigning these commitment items to the same cover group. Then, the system will automatically generate these groups and perform availability control against them. For more info, please, read this:
Regards,
Eli