Bases for Boolean rings