Hey! This is done. I found a way to achieve this scenario. I added a new configuration that selects the groups (or individual items) to apply (or not apply) the productivity bonuses.
Basically: you have a selector: Off (no filtering), Whitelist (what to enable), Blacklist (what to disable); you also have a groups field where you add comma-separated groups or sub-groups; and you have an item field (comma-separated individual items).
Things might be slightly confusing, but I tried to make it easy to experiment with different settings. You can quickly change settings while in-game, no restart required, no bonuses lost. I also added a command, /pm-groups to help with the exact group names, and it should work with any mod that changes default groups (as far as I've tested).
To achieve the exact scenario you mentioned in the previous message, you can do the following settings:
Option 1: Mode: Whitelist, Groups: combat (only enables the productivity bonus for the combat group, which should include turrets and walls)
Option 2: Mode: Blacklist, Items: iron-plate, copper-plate, steel-plate (mod is enabled for everything except the 3 types of plates)
There are definitely more combinations to achieve this, so feel free to experiment with configurations that fit your playstyle. The tooltips are hopefully going to help you, but, if they are not, feel free to leave another message.