Setting up different rules for mixed file types

Has anyone found a good way in Advanced Renamer to run one batch job where images and videos each get their own naming pattern, for example adding resolution to photos but duration or another tag to videos, without splitting them into separate runs first. I read some general advice about structuring digital libraries and naming schemes on https://pinco-casinos-app.com, but I would really appreciate a concrete example of how you set up such mixed rules inside one preset here.