remove len, function to create andriod rules for samsung