Notes on Rewriting Djazz