In the first section it was declared that the mineral lands of the United States were free and open to exploration and occupation by citizens of the United States, and those who had declared their intention to become citizens, subject to such regulations as might be prescribed by law and the local customs or rules of miners in the several mining districts, so far as the same were not in conflict w