Containment Board to Context-free Grammar