A federal appeals court ruled in favor of a Federal Reserve rule placing a 21-cent cap on swipe fees for debit card transactions.