Set system-parameter by rule?

Before my SD card crashed I had a rule that updated a system setting. But I can’t find how now.

I want to update the “location” under regional setting.

As written in my other post in the other thread:
have a look to the REST API ( /services/{serviceId}/config ).
As far as I understand the REST API you can update / set the configuration there.

Accessing by using GET request to http://pi:8080/rest/services/org.openhab.i18n/config ( as described in REST API ) returns:

{
  "timezone": "Europe/Berlin",
  "variant": "POSIX",
  "language": "en",
  "location": "5X.X1682772120481,X.XX63952398300173",
  "measurementSystem": "SI",
  "region": "DE"
}

There is also PUT request to set these items.