Add rules to sync script to distinguish unit types and ignore certain duplicate registry_no