corrected the addtional rule checks