To make sure your filter or command handler meets the rules you should use the Program Code Assistant.