You can also do that from within the scene usin this snippet:
cmds.createEmbeddedNodeRL4(
n="rigLogicNode",
dfp="C:\MyMetahuman_rl.dna", //using _rl cuz it seems to be the behavior part of dna
jn="DHIhead:<objName>.<attrName>",
amn="FRM_WMmultipliers.<objName>_<attrName>",
bsn="<objName>_blendShapes.<attrName>",
cn="<objName>.<attrName>"
)
it’s basically recreates connections from controls->rigLogic->bones.