When creating subset rules dynamically and pass the subset array (the second parameter) and is empty, I receive a php warning. What I try to do is something like this ...