If you got rejected by your potential home mortgage lender you should strive for finding out why exactly you got rejected. There used to be cases when people got rejected due to mistakes in their previous credit history made by employees of the credit bureau. So make sure that your previous credit history is free of any errors and occasional mistakes. Credit history is the most important document (besides how much you make) reviewed by mortgage companies and loan officers.
Anyway, make sure you ask for the reason why you got rejected. A loan officer should tell you why. Usually, up to thirty days are given to the mortgage company representative to provide you with a written notice telling you the reason for rejecting your home mortgage loan application. The answer of your mortgage lender should be extensive enough and contain a clearly stated reason which justifies the rejection.
Hunt for the lowest mortgage rates to avoid rejections of any kind and verify your credit report carefully.