UPS Shipping rate is calculated based on weight.
Set the weight of the items that should not be charged shipping to 0.
In the UPS calculation on the shipping tab, add another trigger:
AND
Subtotal for any column:
If the Subtotal of Column [TotalWeight] is [>] a value of [0]