Rejection of an article means that it requires an extensive review. Therefore, you may resubmit it if you follow the recommendations of the reviewers and make a significant improvement. However, this does not imply a publication commitment of the article from the journal.