How can I display the value of a variable inside a condition?
Try cloning the rule, and adjust the clone, remove your condition &amp; add a system message action that shows the two variable values you are trying to debug.

BTW, Eventually you may want to install a debugging environment like xdebug. This is likely a longer process than you'd want to tackle for a quick fix. However, if you are planning to keep working in the field, it's incredibly helpful.

You'll find a good start here:
https://stackoverflow.com/questions/7303912/setting-up-xdebug-for-drupal-site