Since publication of the APP-6A standard, the rectangle frame has indicated a friendly unit in NATO usage.  In earlier NATO and US standards, all units were depicted with a rectangle regardless of alignment.  Hostile units could be indicated with "EN" placed adjacent to the symbol at the bottom right corner.
Own work
CdnMCG