Hi, please try this:
1) Be sure the Spline's pivot is aligned with plane of the wall (Z perpendicular to the wall):
2) In RailClone, assign the spline and click "Realign".
3) Save the scene and reload.
That should align the array with the wall.
The last step is necessary because one of the clipping values is cached, and not updated correctly when axis changes. We'll fix that for the next update.