it led to the signature of the treaty of rastatt the following year