Six rural hospitals could each secure up to $2.5 million in federal dollars to cover capital improvements, as state health officials work to dole out the initial $162 million that Massachusetts received last December as part of the Rural Health Transformation Program.