Make it possible to define replication roots and rules to traverse relationships
Generate the code that replciates the tree out to clients