refactor code to properly support session persistence
update rule set to include views and conversions
complete rules by attr, and conversion rate