The A83 at the Rest and Be Thankful and the rail line between Kilmarnock and Dumfries are among routes closed by rain.