Hi @mwiegand , I was rather hoping you’d worked it out and that I was simply overlooking something. 
@26AngelG
I’m closer than I was, but I’m struggling with the specific examples (which isn’t aided by now scrolling up and down the thread) so I am reproducing some of what you have said so far, to put things in one place
Original Table 1

Recent “Rule Lookup table”
Rule “explanation” table (I take o to be “or” and y to be “and” in Spanish)

So let’s look at the original examples given (initial post):
Example 1
For example, if I look at table one and get the reference 51123 it should classify me as FRONT.
So looking at Table 1
“51123” has positions 0111 and 0222
Looking in Lookup table for 0111 AND 0222, we get FRONT.
I believe I understand that one 
Example 2
If I have a 63333 it would be classified as RIGHT, because 2222 is shared with FRONT and RIGHT, but it depends on another position that is associated to the reference
Now this is where my understanding gap continues to exist.
Looking at Table 1
“63333” has positions 0222, 0444, 0555, 0777
We are told that 63333 is to therefore to be classified as “RIGHT”
Why?
“0222” alone or with “0111” in the lookup table results in FRONT
but an optional “0222” in conjunction with “0444” (line DDDD) results in RIGHT.
So I can see how it might be RIGHT.
However, doesn’t it also have “0555” and “0777” ? … and “0555” together with “0222” makes “LEFT”, whilst “0777” either alone or combined with “0444” makes “REAR” so I still don’t understand why “RIGHT” is to be chosen in preference to either “FRONT” or “LEFT” or “REAR”.
Perhaps there is some order of priority to the rules, and I think this is what I don’t yet understand?
Can you provide a fuller explanation for that specific example please. I’ll probably then have further questions 
Like @mwiegand says, we want to help with this challenge but we need to fully understand it before we can suggest useful solutions.
Edit:
I’ve overlaid the references for 63333 onto your area/position diagram to see if that aids my understanding, but I still can’t quite see it:
the markers (1), (2) and (4) visually/physically indicate that this is more RIGHT than it is FRONT. Is that it? Are we having to base this on whether the combined set of positions gives some kind of physical weighting towards a particular area? Is the above diagram suggesting it is more RIGHT than REAR? I don’t know 