l10n: rtl support, fix breakage caused by removal of flex rules