Carl XI , RabeniusochHexeriprocessen