Configuring storage based policies