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.
Phyllite is a metamorphic rock which is formed by regional metamorphism of argillaceous sediments since their cleavage arose due to deviatoric stress.