New rule in California will allow police to ticket driverless cars