When you import a DPF file that contains both tasks and rules into a repository that uses Postgres as an underlying database, you might see that the relationships between tasks and their rules are lost.
The only known workaround with Postgres is the following:
However, this action does not work when rules from one task are also used within other tasks. In that case, the only workaround is switching to a different underlying database (such as Oracle) or a file-based repository.