A reed stylus was the main writing tool used by Mesopotamian scribes. Scribes created the wedge shapes which made cuneiform signs by pressing the stylus into a clay or wax surface.
In general, it was the local and state governments that enforced these laws during this time, since the federal government lacked practically all powers to intervene in the states' affairs.