rules/iplant.py: added hash function