private Restriction buildRestriction(final RuleBuildContext context,
final Pattern pattern,
final InternalReadAccessor extractor,
final FieldConstraintDescr fieldConstraintDescr,
final RestrictionDescr restrictionDescr) {
Restriction restriction = null;
if ( restrictionDescr instanceof LiteralRestrictionDescr ) {
restriction = buildRestriction( context,
extractor,
fieldConstraintDescr,
(LiteralRestrictionDescr) restrictionDescr );