Compute policies