A module theoretic interpretation of multiplicity and rank of a stationary random process