reTerminal - permission for keys and LEDs - udev rule ?

Hello,
I use the python module seed_python_reterminal to control the buttons and the LED, this only works if I run the script with root.

sudo chgrp -R gpio /sys/devices/platform/leds/
sudo chmod -R 775 /sys/devices/platform/leds/

fixes the problem until the next reboot, after that only root has access again.

Is there a udev rule that always overwrites it ? if yes, which one is it ?