Please tell us where because any code in docs that uses “is” is wrong and needs to be corrected.
Notice logInfo has two parameters.
What logs were you looking in because you should have been seeing errors in openhab.log every time OH loaded your .rules file with the line number and indication of what was wrong for many of the corrections Vincent suggested.
It might be worth while to look at the JSR223 add-on that will let you write Rules in Jython, JavaScript, or Groovy. There is less support here on the forum but lots of users are a lot happier not being constrained by the purposefully added limitations in the Rules DSL.
Beyond that, Textual Rules | openHAB, Xtend - Expressions, and Topics tagged designpattern will be your primary resources for the Rules DSL. Logging is documented at Logging | openHAB and an example for configuring logging levels is at Log4j2 Sample Config. working in the Karaf console is documented at The Console | openHAB.