Standard & Poor's Ratings Services assigned its 'AA' long-term rating and a stable outlook to the town of Amherst, Mass.'