Maybe this would be a handy feature:
Different spline segments can have a different material ID. You could use the ID to determine which Railclone object to associate with a spline segment.
So you could eg. alternate between wall and railing within a single spline, or eg. wall with windows, wall without windows, wall with door etc.