load parameters and rebuild rules from url