European plans for the smart city: from theories and rules to logistics test case