LPS-35675 - debug logs to track rule evaluation

Hi Jorge,

as we discussed I added back the debug logs. I refactored it to use StrignBudler instead of concatenations and encapsulated the logging logic in a single method to avoid loitering the main code. I hope this is OK with you.