change encryt rule