compass and ruler
Literal meaning: the tools used for drawing circles and straight lines. This sense is rare in modern usage and mainly appears in historical or technical descriptions of craftsmanship.
彼の行動は社会の規矩から外れている。
His behavior deviates from the norms of society.
Carpenters of old used compass and ruler to draw precise plans.
rules and standards; norms; criteria
From Chinese 規矩 (guīju), literally 'compass and square', metaphorically extended to mean 'rule' or 'standard'. The Japanese reading きく is the on'yomi.