moved rules to web project