rast to pr