You asked:

how far is rabat to amman

Sorry, I don't yet have an answer to that question.