What to do when a journal editor comments to rewrite (revise and resubmit) the article to remove similarities from another paper published in the same journal by our group. The works are different but the writing style may be same. In this case, is it recommended to submit in the same journal after rewriting or should I go for another journal?
Obviously, the editor felt that your manuscript has too much overlap with another publication of you(r group). This may simply be indicated to them by a computer program which checks for literal overlaps with any source.
Often papers from the same authors suffer from such overlaps, in particular in the introduction section. However, this self plagiarism should be avoided, even if only by rephrasing the text. Duplication of content (even if rephrased) elsewhere (than in the introduction) is less acceptable and should be limited to the necessary minimum.
In any case you should add an appropriate reference to your previous work, for example "see also paper 1, where we have explained all this in more detail".