Rule Writing for x and 1/x

*To*: MATHGROUP at christensen.cybernetics.net*Subject*: [mg785] Rule Writing for x and 1/x*From*: REECE_D <REECE+_D%A1%Electromagnetic_Sciences at mcimail.com>*Date*: Wed, 19 Apr 1995 00:29:51 -0400

Is there a way to write a single rule in MMA which will turn J/s into W and s/J into 1/W? {J/s->W} only works for case#1.