Representations of Rota-Baxter algebras and regular singular decompositions