Z0-ideals and some special commutative rings