Or just change the garmin type code in the style file to a routable one, e.g
railway=rail [0x01 resolution 12]