Added security rules and project setup fixes.