You have somehow developed the mistaken impression that "rude/abusive" flags cast on posts are flagging the user. They aren't; they're flagging the post. A "rude/abusive" flag means that the post itself (the one you've flagged) is inherently rude and/or abusive (in a way that makes it utterly unsalvageable via edits) and is in need of immediate removal.
The answer you flagged clearly wasn't either of those things, as evidenced by a moderator's edit to the answer that removed the rude portions and left a valid answer.
This is not new policy. It has always been the case that standard flags ("spam", "rude/abusive", "not an answer", "very low quality", etc.) are cast on posts, not on users, and that posts should not be flagged as "rude/abusive" when an edit can be made that salvages the post (i.e., removes the rude/abusive bits and turns it into a valid question/answer).
See the global Meta FAQ on the red flags, specifically the guideline that:
If an otherwise valid post contains vulgar words as an expression of frustration, edit the bad part out instead of flagging the entire post as rude or abusive. If this results in an edit war or rollback war, flag for moderator attention.
and the guidance not to use the flag:
If any part of the post can be salvaged, edit out the rant-y parts. If not, vote or flag to close as Opinion-based (for questions) or flag as not an answer (for answers).
So, I suppose, to answer your titular question explicitly: no, a post containing valuable content should not be flagged as "rude/abusive". Such a post should be edited to remove the rude/abusive content, leaving the "valuable content". No moderator intervention is required here, so no flag is needed. Anyone can edit a post, even an anonymous user (they just have to suggest an edit, which has to be reviewed and approved by other trusted users). Given your earned privilege level, you can submit an edit that requires no additional intervention from moderators or other users and takes effect immediately. It should be obvious why this choice of action is strongly preferable to raising a flag. "Rude/abusive" flags don't mean "a moderator should edit this to remove the rude/abusive bits". If a moderator can do that, so can (and should) the flagger.
Aside from that, as has been noted in the comments, a "rude/abusive" flag has several other aspects that make it unsuitable for salvageable posts, including the fact that 6 of them will immediately nuke post without requiring moderator intervention (so there's no guarantee that a post flagged as "rude/abusive" would ever even be seen by a moderator), and that validating a "rude/abusive" flag against a post results in a reputation penalty of −100 to the user, along with other sanctions, like hobbling their ability to continue to post.
What you're saying is that a rude contributor can indefinitely escape being flagged as rude as long as they also include valuable content in their posts. This makes no sense to me.
No, nobody said that. That's a reductio ad absurdum, enabled only by your confusion regarding what flags apply to. Since flags apply to posts, not to users, the statement's conclusion is wrong. A "rude/abusive" flag on a post would not be how you flag a rude contributor; that would only be how you flag a rude post. If you want to bring to the attention of moderators that a user has repeatedly posted answers that contain valuable content but are mixed with inappropriate rudeness (which then has to be edited out by other users), then you should raise a custom moderator flag on one of the posts. In that flag, you would present evidence (ideally, links to the answers, but mods can look up links easily as long as you describe your concerns to the best of your recollection) and request an investigation into the user's behavior.
Even if a moderator sees and validates a "rude/abusive" flag on a post, it's not likely that they're going to go looking at other posts by that user to see if they are similarly rude/abusive. A moderator is especially not going to notice that the user has previously posted other rude/abusive content that got edited out (salvaged) by other users. If you want to bring that to our attention so we can act on it, then you need to do it explicitly with a custom flag.
Custom flags are how you flag users and patterns of user behavior. The other, standard, named flags are only for flagging posts.
Moreover, it's the first time I'm told about this "rule" - I definitely have flagged many similar posts in the past and these flags were never declined for such a reason, wether the post was edited or not.
As far as I can see, the other posts you've previously flagged as "rude/abusive" were intrinsically rude/abusive, matching the description of the flag's purpose given in the decline message as well as at the beginning of my answer.
I guess that's not surprising, since I'm the one who wrote the decline message. (It's a canned decline message that can be selected from a list of reasons in a userscript. So, while I wasn't the moderator who reviewed or handled your flag, I was the moderator who wrote the message that they used when declining your flag.)
I wrote this decline message and added it as a canned option in a script because the mistake you've made here is one that is made by other users, too, from time to time. Traditionally, these are declined with the system-provided canned reason "flags should only be used for things that require moderator intervention", but, while completely true and apt as far as it goes, I felt that did not provide adequate guidance. In particular, it failed to convey why the flagged post did not require moderator intervention. So, I wrote something that I thought did explain that. I'm happy to continue iterating on the language of the flag-decline message (within the constraints of the extremely tight character limit), but I don't think the message was the actual problem here. It seems you understood it just fine, you just didn't agree with the policy.
Also now the post has been deleted by a moderator. So which is it, salvageable or not?
It would be really nice if moderators could act in a more coherent manner: give us actual rules and we'll follow them.
Yeah, I have no idea why that post was deleted by a moderator. I cannot find any justification for that action. That appears to have been the misunderstanding/misfire, not the declining of the flag. I've corrected that now.
We've given you "actual rules". What I've defined here has been the meaning of the rude/abusive flag since it was introduced. I would go so far as to claim that it's intuitive, and that your counter-proposal of flagging things that contain "valuable content" as "rude/abusive" is shooting ourselves in the collective foot.
Unfortunately, we cannot guarantee that moderators all act in the same way. That's not how humans work. Consider it a bug that is status-bydesign.