The old game Pharaoh had an implementation of this. Currently, Stonehearth offers two control options for each item / item category: the stockpile can contain this item, or it cannot. Pharaoh had more settings:
- Accept item: The stockpile accepted this item.
- Do not accept item: The stockpile did not accept this item, but it did not throw out this item if it already had any.
- Empty item: The stockpile did not accept this item, and tried to offload any of the item it has of this type to other stockpiles.
- Get maximum: The stockpile specifically requests this item from other stockpiles that do not also have this setting for this item, and will continue to do so while it has space.
- Maintain X: Same as above, but this will only happen while there are fewer than X items in this stockpile.
All of these, I think, would make sense for Stonehearth.