lightfilter takes a single set filter as argument. It has as value the set of light squares that are in the set of squares represented by that argument.
Thus, to find positions with more than one light-squared white bishop, use
lightfilter is used in chameleon.cql (see the dark documentation for discussion of its use there).
The CQL code in allsamecolor.cql can be used to find positions in which all the pieces (at least 10) are on the same color square, as here:
(found from CQL file: allsamecolor.cql)
light [Aa] == [Aa]
is used to check that the set of light pieces is equal to the set of pieces, which is the same as saying that all pieces are on light squares. The flipvertical preceding this turns it into
light [Aa] == [Aa] or dark [Aa] == [Aa]
because when the board is flipped about the vertical bisector, light squares turn into dark squares. The filter as a whole thus matches a position in which all pieces are on the same color squares.