Mar 10, 2010
Looks like I already wrote a perl app to do just that. It will list, add, and remove iRules from a specified Virtual Server. Check out PerlVirtualServerRule in the iControl CodeShare:
http://devcentral.f5.com/wiki/default.aspx/iControl/PerlVirtualServerRule.html
-Joe