Signaling system for rail vehicles