Fixed entityrules (special characters defaults) not being stored in session