Right
巨 supplies the sound: jù → jǔ with tone shift.
巨 originally depicted a craftsman's L-shaped measuring tool — the very thing
矩 names. A doubled match: the phonetic IS pictographically the square, and
矩 specializes that meaning. From the physical square came figurative 'rule, pattern' (
规矩 social norms).