Foidolites is a fine-grained, hard rock which is a type of metasomatite, essentially altered basalt. It forms with or without crystallization, either below the surface as intrusive rocks or on the surface as extrusive rocks.
Dolomite rocks are originally deposited as calcite or aragonite rich limestone, but during diagenesis process, the calcite or aragonite is transformed into dolomite.