One of the great things about all the action sports is you can pretty much make up your own rules. There’s no referee telling you what to do, or when you should be doing it.
On a mountain bike, you’re basically on your own, just you going up against whatever terrain you are riding.
And even if you’re on a crowded trail, it’s not like there are rules like football. You just have to remember not to be a dick.