SID : rewriting