A judge has struck down California's law banning the marriage of same-sex couples, saying that “It appears that no rational purpose exists for limiting marriage in this state to opposite-sex partners.”