Yeah I would use a width mate, select the two inside faces in the t slot an the two outer faces on the rail (whilst holding ctrl) then just click mate then it should auto self centre.