Lightweight and Label based rule engine