1. A method for automatically generating alarm aggregation rules using a computer system, the method comprising: receiving, by the computer system, information descriptive of a hierarchy of devices within a set of devices, each device within the set having one or more devices within the set that are associated with the device and each device of the set being capable of entering at least one anomalous state; identifying at least one type of alarm aggregation rule that applies to at least one device within the set based on the at least one anomalous state that the at least one device is capable of entering; defining an alarm aggregation rule having the at least one type, automatically, based on the information descriptive of the hierarchy of devices within the set of devices and a matching anomalous state between the at least one device and other devices within the set of devices; and storing an association between the alarm aggregation rule having the at least one type and the set of devices.