To get the same rotation for two segments they would need to be used in the same generator and combined with a Compose operator. You can see an example of this in the attached file. To align the segment's correctly I've reduced the X Fixed Size
as low as I can and disabled Scale Segment
. The Compose node is then wired to a Transform node which has the Z Rotation property exported. This is wired to a random number generator set to generate a new value per segment.
I hope that helps, please let me know if you have any further questions.