It is well established in American law that religious bodies can set their own rules about who is to be married in their churches. 

No, it is saying that if you want to fire an employee because you find his or her civil gay marriage offensive to your religious sensibilities, the former employee cannot sue you for wrongful termination. This is something which American bishops do far too often.