def to_s(options_only=false)
      rule = ""
      if @comments
        rule += @comments
      end
      if not @enabled
        rule += "#"
      end
      rule += [@action, @proto, @src, @sport, @dir, @dst, @dport].join(" ") unless options_only
      if @options.any?
        rule += " (" unless options_only
        rule += @options.join(' ')
        rule += ")" unless options_only
      end
      rule
    end
def to_s(options_only=false)
      rule = ""
      if @comments
        rule += @comments
      end
      if not @enabled
        rule += "#"
      end
      rule += [@action, @proto, @src, @sport, @dir, @dst, @dport].join(" ") unless options_only
      if @options.any?
        rule += " (" unless options_only
        rule += @options.join(' ')
        rule += ")" unless options_only
      end
      rule
    end
Initializes the Rule
 @param [Hash] kwargs The options to initialize the Rule with
 @option kwargs [String] :enabled true or false
 @option kwargs [String] :action The action
 @option kwargs [String] :proto The protocol
 @option kwargs [String] :src The source IP
 @option kwargs [String] :sport The source Port
 @option kwargs [String] :dir The direction of traffic flow
 @option kwargs [String] :dst The destination IP
 @option kwargs [String] :dport The destination Port
 @option kwargs[Array<Snort::RuleOption>] :options The better way of passing in options, using
   option objects that know how to represent themselves as a string properly
 Output the current object into a snort rule