added type rules
added fullscreen rules