to have some items be taxable and some items not taxable, you would create a new column for taxable in the cart object.
items that are not taxable should get a value of 0, items that are taxable should get a value of 1 in the add to cart button.
you can then create a tax rule that uses the Items where taxable is equal to one for the trigger and calculation.