added pickRule

- added basic pickRule