Apply discount on checkout when a specific quantity of products are purchased with a specific taxonomy
I managed to resolve this by adding a condition to the rule that was created by the discount.

And
Total quantity of selected product comparison