On combinatorial aspects of modules over commutative rings