Make a backup of the rdf file before attempting to edit it!
You can often get away with replacing the entire FF version number with an asterisk (see gif below).
Click on thumbnail for animation.
I have edited all of my favourite extensions using this method (the ones that FF didn't "like") and I have had no problems.
This may not be true for all Add-ons.
I would also suggest that you change the Add-on version number, so that you can remember which Add-ons you have edited.
I've changed all of my edited Add-on version numbers (to 7.0.0).
Of course I'm running FF8a now. D'oh!