Legal reality: ontological and aggregate analysis