rings and finitely generated flat ideals