Separated static Rule Creation logic from Rule class.