Under the nursing home rating system, which is to go into effect today, the nation’s 16,000 nursing homes would receive stars based on state inspections, staffing levels, quality assessment such as the number of residents with pressure sores and even the cracks in the walls.