Gelfand Factor Rings and Weak Zariski Topologies