Personalize the behaviour of a component based on click of pages related

Hello everyone,
I have an issue about how to personalize a component depending on the pages visited.
My component retrieves data from a datasource which is composed by a list of items.
Depending on the page I am displaying in the website I should display my favourite item in the component.
What do you suggest to achieve this ?
I tried using personalization. I have created some rules such as: "where the current visit matches the xxx pattern card in the Misure profile" in the component where to set which item of the datasource should be shown as first item.
Then in some pages I created some profile cards. Whenever the user visits these pages with different triggers, in the component all the rules are true and always the latest rule wins over the others.
How do I give more importance to a particular rule rather than to others ?
Any suggestion ?