Merge: Export copy rule and flat documents (#283)

Fix for usability issue #283

An assignment of type `/*[0]@Foo = "bar"` will no longer create a typeless docStruct if there is no first child and crash the export. The rule will be skipped if no first child docStruct is already present.