Added user data serialization; added Rule class details