Notes and Rewrites

Notes interpretation and rewrites.