Huge fix to make thing works
Fix bug rule doesn't synchron
Fix bug and adding head
Adding database
Rule composing