Web Interface and Code Generation

Which rules language?

Those are the languages that come with OH. If you install an Automation add-on, see that add-on’s readme (and often there will be a corresponding thread here on the forum) for details. Though the syntax will primarily be what ever the language is (e.g. JS Scripting is standard ECMAScript 2021) so the docs focus mostly on interacting with openHAB.