COMMUTATIVE RINGS WITH A FINITE NUMBER OF INDECOMPOSABLE INTEGRAL REPRESENTATIONS