Make optional rule to update desktop cache database

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=705249
Fixes SF bug #92