A helper for CSS rwriting to turn right-to-left into left-to-right and vice versa