fixed parsing of rulePotency and integer