Learning compositional rules is an important research direction. The proposed method achieves 100% accuracy on different train/test splits of SCAN. My main concern on this work is it seems to be too specific for SCAN, as pointed out by the reviewers.