To create a rule in Gmail, first click the search bar at the top and then select the filter icon. Enter the sender, subject, or keywords that you want to filter, and then press the Create filter button. Choose the action you want Gmail to perform (for instance, skip inbox, apply a label, delete...