fixing switch-rails to the driving means