Using HashMap instead of BasicHashtable; BasicHashtable implementation was causing a segmentation fault on multiple rule writes; Changed wrapper functions in PrivacyRules.h

Change-Id: Ia70505982cd00647a1d4213063d984292b86128d