You'll want to make your Right "Sidewalk" wide enough to accommodate everything to the right of the road, including the Planting, Sidewalk, and Rail Line. And then you will need create a rule that divides that sidewalk accordingly, and creates the railway line.