Amazon rewrites the rules of book publishing