Interest Rate Swap Loan

So I can't seem to find any information regarding this, but the loan costs or origination fees associated with entering into a rate swap loan agreement. Are these deductible immediately or do we need to amortize them over a set number of years? Can someone point me towards proper documentation?