Added Rule to Engine and Added Tests