Submitting a rejected paper to the same editor in a different journal Submitting a rejected paper to the same editor in a different journal.

One of my papers was rejected from a top journal in mathematics. ( I submitted it to an editor, say A)
Two reviews basically were saying that the paper is solid but not good enough for the journal.
The reviews did not contain much details about the paper. I think that the reviewers (say, B, C) didn't read it thoroughly.(It was somewhat a quick rejection) 
I am thinking about submitting it to another journal (not a top, but still very good).
The same person A is the only editor in the field of the paper in that journal.
So it is very likely that the editor A will handle the paper again and send it to the reviewers B, C.

What is pros and cons of submitting the paper to that journal?

Do I need to avoid submitting the paper to that journal?
There is no problem in resubmitting the paper to the same editor, but to a different journal. I've seen and done this more than once.

My advice is the following. Take the first set of reviews and address them as best you can. Then prepare a response to reviewers as you normally would, addressing all the points and stating the changes you made. Then append this to the cover letter of the journal you are submitting. The fact that the editor is the same may work in your favor since they have already seen the material, and will see that you are following on their advice.