Problem in generation of policies