Look for data property instead of parsed_data one.
Added tests module.
Added rule generation tests for resource.