Getting restrictions from category files