The abstract noun "justice" can be translated as a noun phrase. These words can be translated in active form. Alternate translation: "When rulers do what is just" (See: [[rc://en/ta/man/translate/figs-abstractnouns]] and [[rc://en/ta/man/translate/figs-activepassive]])