Get a detection rule

Gets a detection rule by resource name.