Tienes q prestar mas atención a la sintax de PHP ... Te faltó cerrar el } en el primer IF ...
Y .. si aquí colocas el código PHP con el boton "PHP" q tienes cuando publicas tu mensaje . se verá mejor (coloreado) tu código ...
Código PHP:
if (!$rut)
{
echo "<div align='center'><font size='+3'><font color='#ff0000'>Error debe ingresar su Rut \n</font></font></div>";
exit;
}
Un saludo,