Finding the Xtend syntax really frustrating for writing rules. Can I write rules in another scripting language?

I have been using node red as a rule engine and I can heartily recommend it. It is very easy to set up with openhabian and is much easier to use than clunky xtend or manually coding in JSR223. It does not sacrifice any power/flexibility either.