tosulliv: cleaner implementation in removing static variable references
for rules engines