import templates

a) outdata show in front page ; b) import rules template into mongo
database