The reason it's disabled is because it's possible to make a simple script to create a sniper scope, essentially. Turns out rail is REALLY good if you can zoom in from across the map. That's why it's banned in vanilla.
Now, if you're modding the game to change this, you're accepting that someone might abuse it, so then it's on you, not us. =P