Check rule script for rule 3.6 added

I've added a script to check rule 3.6.