Sumada Kaabaha: rewrite rules