Micromechanic Formulation of Macroscopic Structures in a Granular Medium