Boolean Ring of Blackening Operators and applications to Representation Learning