added rules to oppertunities model