Implement light emission using value rules. This requires changes to the database repo as well.