Implements activation of rule if connecting to new wifi