Added policies support for flash validation