Custom and internal accepts validation rule

Adding custom and internal accepts validation to be merged inside #239 PR.