How to correctly export component policies from AEM 6.4?



Hi Everyone!

I was just wondering what is the best/correct way to export component policies to a local repository in order to replicate those across several environments?


I somehow understand these are stored under /conf node once created, but I'm not sure if exporting the /conf/*project*/settings/wcm/policies/*project* node in a package and then installing it will be enough, or if by any chance there is a more go-through solution that includes keeping the relationships between components, templates and policies.


Is syncing ui.content /conf in my local repository the best option to keep those? Thanks in advance for your help, I know this is a dull question but it's really grinding my gears lately.