I could be wrong but from your screenshots it looks like you’ve set the visibility rules on one of your pages instead of on the folder?
You need to hover over the folder in the menu, click the 3 dots and then click on visibility.