Add rule dependencies