Visibility matching on SLElement

Added functionality to SLElement which further filters the matching routine based on the visibility of a view.