A stochastic model for constructing an access policy for multiple knowledge systems