typing. add rules for placing apps in tags