LPS-42537 autogeneration of CSS for RTL languages using the library R2

R2 library: https://github.com/ded/R2