brain project - a pluggable rule engine