Update rules engine and v2 api
Fixed jquery error
Merged feedhenry3 branch