Added check for rule identifier length restrictions