Remove unused code

git-svn-id: svn://irodssvn.ucsd.edu/trunk@5451 ea137bd6-aa86-47b6-b90d-b101d9f19a90
replace commenting with #ifdefs to keep code backward compatible with the old rule engine.

git-svn-id: svn://irodssvn.ucsd.edu/trunk@5452 ea137bd6-aa86-47b6-b90d-b101d9f19a90