Just an FYI for anyone interested …
I have found that ChatGPT is knowledgeable about OpenHab. I’ve been using it for Python code and I have found it also knows about various OpenHab capabilities.
Very useful for giving hints at code or actually writing useable code on the first try! I only use Jython so can’t vouch for how well it does for creating Rules.
Try it out for yourself!