A fun, but not well known, feature on BIG-IP is the Statistics Profile. This tech tip is the second in a series on how the Statistics Profile and iRules, when working together, can save time, product...
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: