Minimum and Maximum restrictions from the category level will disallow customers to make purchases within the category if it doesn’t converge with the rule created.
To set the category restrictions, go to Products > Categories. Now choose a category or a subcategory and click on edit.
On the category page, scroll down and you will find the following option-
Minimum quantity- Minimum Quantity limit for the category
Maximum Quantity- Maximum Quantity limit for the category
Quantity Step- Apply step count for the category
Minimum Total Quantity- Minimum number of products that can be purchased from the category
Maximum Total Quantity- Maximum number of products that can be purchased from the category
Provided that, When category rules are applied, they will automatically override the global rules.