Changed exception error message to include information about the context and field name of the profile rule.