Terminal rail mounting system