Dear Mosimah,
Your document is not rtl. I have not seen attribute dir="rtl" in <html> tag.
If you will not use lrt mode. You can find:
// get document direction from template.
$document =& JFactory::getDocument();
$app_direction = $document->params->get('direction', 'ltr');
$params->set('direction', $app_direction);
and replace them by:
$params->set('direction', 'rtl');
Regards