Fix tests, add some comments about unimplemented methods, and add data accessor methods
Add rules getter and check_http_headers_for_mobile function