rules: added php version verification to disable some features but now it can works with php 5.2
php5.2:
 - passwords will be send by network in a plain text, and you can simple see them in logs
 - json_encode has no second argument for oprions (readability of a json files for humans is bad)