Yeah, attack rear is weird. Not sure if it means the rearmost units on the battle field or the rear of the first group. I've heard some people say they do a morale check for every group they pass, and if they fail, they will attack them... sounds odd but who knows?
Even with that, attack rear can be useful at times.