BVS-711: update for external grid display logic

Update connectivity calculation in tabs.py: previous was displaying opposite connectivity in the grid for rules using the 'external' keyword.