createRule

Creates a rule for use with the specified detector.