Fixed rules.py and standardiser.py to work with python2.6 (required for eTOXsys).
Minor tidying of other files.