Fix rules php error (function may be compatible with same function in glpi core)