change the rule_engine.unsleeped, if the uri is null, set the uris of the app