Obama attacks GOP on women's rights