Fed issues final rules on emergency lending