How to Add Rules for a Guide based on the Onscreen Element

1)

Click on four dots

2)

Click on "Edit"

3)

Inside Guide settings, click on "Create Rules"

4)

Add appropriate rules 

5)

Click on "Select Element"

6)

You are in capture mode now

Select any element 

7)

To see the preview of the selected element, hover over the eye icon

8)

Once you're done, click on "Update"

9)

Publish the guide so that all the updated settings will start reflecting!.