Thanks for the quick reply!
The first part is now solved with the filter you mentioned.
For the second part, the page parent will only return a list of my pages. If it also returned the ‘0’ value then i could use this. I will check the links you sent and see what i can manage.
Still it would be nice to also have a post parent in the location rules or also include the ‘0’ in page parent.
thank you.