On the structure of fusion algebras