Valuable deposit of minerals in a rock formation