RST -> MD