A long time ago I shared a script that duplicates a FIM Portal object. At the time a couple of people asked if it would duplicate a Sync Rule, which it didn’t.
After having avoided Sync Rules as long as possible I’m now working on a site where they were already implemented and I’m extending on them. I needed to duplicate one for a new MA and I found that, while I had trouble copying the whole object, just copying the flow rules seemed to work fine. So I’ve added a new script Duplicate-SRFlows.ps1 which will copy flow rules from one Sync Rule to another.