Z
0
-ideals and some special commutative rings