This is a problem because the "contains none of" operator (!=~) contains THREE characters. Setting to varchar(3) [or more] fixes the issue

Comments

ahaarnos’s picture

The patch to fix this is simple, change the 'length' => 2, on line 46 of mobileplugin.install to something higher, like 3 or 4.

If you've already installed, you need to just alter the column in your database as follows:
"ALTER TABLE `mobileplugin_rules` CHANGE `operator` `operator` VARCHAR( 4 ) NOT NULL"