Suppose my opponent has Teferi, Time Raveler in play, and I have a Leyline of Anticipation. The former says I can only cast spells any time I could cast a sorcery, and the latter says I can cast spells any time I could cast an instant.
In this case, looking it up on Oracle gave me a direct answer in the past rulings: Teferi's ability overrides the Leyline's.
But is this just an arbitrary decision? When cases like this come up, how can I decide which effect wins out without searching for specific rulings on each combination? As a general rule, when something like this happens in play, how should I figure out the result?