fix showing rule for admin layout