Adding initial version of security rules

@startupandrew Initial security rules - please review and merge