TL;DR
Add an additional filter to the upgrade planner that matches any module, similar to the "Empty module slot" filter that matches empty module slots.What?
Currently, we can use the upgrade planner to:- upgrade a specific module to another specific module (e.g. prod 1 to prod 2, or prod 1 normal quality to prod 1 uncommon quality)
by choosing the source module as the filter, and the replacement as the upgrade - insert a specific module into empty module slots
by choosing "Empty module slot" as the filter, and the replacement as the upgrade
A hypothetical "any module" filter would reduce this to a single source/replacement entry.
The "any module" filter should *not* match empty module slots, so that players have the option of either combining "any module" with "empty module slots" (for a total of two entries, still manageable) or choosing only one.