Added code anaylsis ruleset file and fixed few code rulesets voilations