which pattern to use?
I have an interface 'Rule' which defines 5 methods. I have 2 classes 'ShiftRule' and 'GroupRule' which implements the 'Rule' interface. At run-time i will be using either 'ShiftRule' or 'GroupRule'.
What pattern I should use for the above case? Please provide a link.
Thank you

