Hereditary Local Rings