very first implementation
change database schema
improved RuleEngine. need to see its robustness
fix stupid bug introdued by stupid validation
initialize rule history every time the server starts
tiny modification on schema
RuleEngine basically done
change last_triggered to trigger? and change the return value. now it returns the datetime.