Cartridge valve rules are set through MDTools Set Constraints dialog. For a cartridge valve we need 3 constraints: top face, bottom face, axis.
Each of these geometries must be set directly in the valve 3d model
MDTools Set Constraints command is available in both assembly and part environment for SolidWorks and Autodesk Inventor.
Top face is always required, it is not relevant when the cartridge will not have any additional item assembled on top (i.e. a coil, a nut).
Coils, nut… will require same constraints to be assembled automatically by MDTools