Stav dette: Rewriting logic and its applications :