It sounds like you want the bits to steer you data.
Each "collumn" says what to do with some data.
In your example you show a 2-d array of booleans.
Index off the collumns and convert the selected (3) bits to an intergger.
This would give you a 1-d array of (based on your example, high bit at the bottom);
7
7
7
7
1
2
0
0
0....etc.
Wire this to a case.
In the "7" state do whatever (3) 1's indicate.
In "0" state do what (3) 0's indicates.
In the "1" case do what ever a one in the top row means.
For (3) stearing bits you will need a case structure with (9) states (one to catch errors that would otherwise be a real pain to find).
Are we getting close yet?
Ben