The top “few rules” solution in part 1:

Like other solutions doing well in this category, there’s an element of “write a lot, possibly delete it later”. Elegant. (Zach’s solution to this one is almost identical.) If the (yellow) reading head sees a =, write a wave below and in front. If it sees a #, delete behind, as too much was written.
Code
.