Health care facilities that plan to end services — or close their doors for good — now have a new set of rules to follow.