You can create a custom tag under Account settings > Tags > Create a new tag > Enter tag name > Save.
Then you will need to click on the three lines on the right hand side and select Setup Rule. Set up your rule, then hit save.
Once saved, you will need to select the three lines on the right hand side again to Run Rule.
Now your custom tag is complete!