Predicting global usages of resources endowed with local policies