How does Set Navigation Rule work?

I am trying to setup navigation for my UI, and having trouble with the navigation rules, documentation is pretty lacking on this