Rank of a Free Module over an Integral Domain