I am using the following kind of 'padded array' many times:
\setlength{\fboxrule}{0pt}
\setlength{\fboxsep}{3pt}
\fbox{
\ensuremath{
\begin{array}{|l|l|}
\hline
A & B\\
C & D\\
\vdots & \vdots \\
E & F\\
\hline
\end{array}
}
}
I'd like to be able to just write, e.g.,
\begin{DRS}
A & B\\
C & D\\
\vdots & \vdots \\
E & F\\
\end{DRS}
(or the same with a command instead of an environment), but I don't know a clean way to set this up. The problem is that fbox is a command, and array an environment, so I'm not sure of the right way to mix the two. I could possibly hack it together, e.g. using the environ package (which I just found by searching on this topic), but it would be nice to know the right way to do this.
Thanks!
Edit: this is the kind of image I'm producing (using nested DRSs):

