Two Component's Top overlay above Rule
You can't create a rule using the Top Overlay as an outline. If you want to have the clearance between two components checked, create 3D models and a component clearance rule.