Write a Ring instance for Bool.