Added InArray rule

Added the InArray rule, and made it possible for custom rules to be used
on the frontend.
Merge pull request #13 from AxaliaN/feature-inarray

Added InArray rule