A federal appeals court ruled unanimously Thursday that the federal law declaring marriage to be a union solely between a man and a woman discriminates against married same-sex couples by denying them the same benefits afforded to heterosexual couples -- a ruling that could set the stage for the Supreme Court to review the issue as early as next year.