Jessy, when you said you started it, what did that mean. did you get the error when saving the iRule or was that error put in the log when a request was made through the Virtual Server using that iRule? I don't see anything wrong with your iRule as it's written to cause that error. Especially since I don't see the token "alumno" anywhere outside of the middle of the URL in the redirect statement.
-Joe