def exclude_rebinding(*args)

      args, message = extract_message(args)

      args.each do |a|
        expand_class(a).each do |c|
          @current_set.exclude_pattern([ :lasgn, :any, c], message)
        end
      end
    end
def exclude_rebinding(*args)

      args, message = extract_message(args)

      args.each do |a|
        expand_class(a).each do |c|
          @current_set.exclude_pattern([ :lasgn, :any, c], message)
        end
      end
    end
This rule :

     exclude_rebinding Kernel

 will raise a security error for those pieces of code :

     k = Kernel
     k = ::Kernel