Sorry @rossko57 I did not want to sound unthankful. I did have look into that thread and I will probably delay the loading of rules as suggested. It is the “action” I was referring to. I have yet to try it. (if the described solution is not working I will add the "touch *.items with a sleep time too).
I understand that start-up timing, initialization, “rules based on events from things that have not started communicating” etc. is something you need to take into account when using rules. I understand it is like that. But that is when you need to deal with “the reality of the outside world”. OpneHab can not control how long it will take for e.g an MQTT thing to send a first status message to openhab. I understand that I need to take that into account when creating rules etc
The proposed "Hide the rules"for an amount of time so the items can load, appears to be a workaround and it overrides a start-up file that is maintained by OpenHab. So that kind of shows a flaw in openhab that we all accept (like I do now, as the system is up and running again and it works now…) The same way we all accept that “for a system to recover from a cache clean-up it needs to be re-started a couple of times”.
But anyway thank you for your reply, I did search the forum before I posted but did not find that one…