Added Tests and Comments and improved RuleDecision API

Added some helper methods for RuleDecision