Testing Rules Framework

Change-Id: Iff83d987e8f4fe16fdda53fdeefc6d7e873f476d