The administration of justice is vested in the judiciary, who are subject only to the Constitution and the law. The function of the judiciary is to resolve proceedings according to law. If there is no rule of law applicable to a matter before it, a court shall determine the matter according to substantial justice and whenever possible in conformity with custom.