Rules
Rules engine V2 -- materialized collection maintenance.
A Rules::View is a derived collection kept equal to its membership
query by Rules::Maintainer. A view supplies a membership query
(whose last column is each member's position) and a projection from a
changed base fact to the affected keys. The maintainer's algorithm is
identical across every view.