A federal appeals court Thursday dismissed a lawsuit by a Madison-based group of atheists and agnostics that sought to end tax-free housing allowances for clergy members.

The 7th U.S. Circuit Court of Appeals in Chicago said the Freedom From Religion Foundation lacks legal standing to challenge the IRS rule because it has only a general grievance against the rule and has not suffered a personal injury due to it.